package com.hflyeer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 答题活动
 * </p>
 *
 * @author hflyeer
 * @since 2021-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_activity")
@ApiModel(value="Activity对象", description="答题活动")
public class Activity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "答题活动名称")
    private String activityName;

    @ApiModelProperty(value = "哪个学院创建的活动")
    private Integer collegeId;

    @ApiModelProperty(value = "创建时间")
    private LocalDate createTime;


}
